//
//  MK_HomePageViewModel.h
//  miku直播
//
//  Created by 杨尚达 on 2017/7/24.
//  Copyright © 2017年 杨尚达. All rights reserved.
//

#import <Foundation/Foundation.h>
#import "MK_NetWorking+MK_HomePage_Working.h"
#import "MK_HomeCategoryModel.h"

///viewModel的状态
typedef NS_ENUM(NSUInteger, MK_HomePageViewModel_State) {
    MK_HomePageViewModel_State_Loading,
    MK_HomePageViewModel_State_Success,
    MK_HomePageViewModel_State_FailFailed,
};



///首页的ViewModel
@interface MK_HomePageViewModel : NSObject

///viewModel的状态
@property(nonatomic,assign)MK_HomePageViewModel_State state;

///首页命令
@property(nonatomic,strong)RACCommand* CategoryCommand;

///首页热点命令
@property(nonatomic,strong)RACCommand* HotRoomCommand;

///首页其他分类的热点命令
@property(nonatomic,strong)RACCommand* CategoryHotRoomCommand;


///首页其他分类的热点命令
-(RACCommand *)CategoryHotRoomCommandWithIDArr:(NSArray<NSString *>*)idArr;

@end
